package com.crack.nga2.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * 全局常量
 * Created by Administrator on 2015/12/15.
 */
public class GlobalConst {
    public static int SCREEN_WIDTH;
    public static int SCREEN_HEIGHT;
    public static final String BASE_URL = "http://bbs.ngacn.cc/";
    public static String Cookie;
    public static final Map<String, Boolean> settings = new HashMap<>();
    public static int UID = 14969736;
    public static boolean isLogin = false;
    public static String username = null;
    public static final String IMG_ATTACH_URL = "http://img.ngacn.cc/attachments";
    public static boolean WIFI_AVAILABLE = true;
    public static boolean NETWORK_AVAILABLE = false;
    public static boolean MOBILE_AVAILABLE = false;
    public static int IMAGE_CACHE_SIZE = 15 * 1024 * 1024;
    public static Map<String,String> emotions = new HashMap<>();
    static{
        emotions.put("blink","[s:ac:blink]");
        emotions.put("cahan","[s:ac:擦汗]");
        emotions.put("cha","[s:ac:茶]");
        emotions.put("chaoxiao","[s:ac:嘲笑]");
        emotions.put("chaoxiao1","[s:ac:嘲笑1]");
        emotions.put("chou","[s:ac:愁]");
        emotions.put("dai","[s:ac:呆]");
        emotions.put("e","[s:ac:哦]");
        emotions.put("fangdui","[s:ac:反对]");
        emotions.put("goodjob","[s:ac:goodjob]");
        emotions.put("han","[s:ac:汗]");
        emotions.put("heiqiang","[s:ac:黑枪]");
        emotions.put("heng","[s:ac:哼]");
        emotions.put("huachi","[s:ac:花痴]");
        emotions.put("jihuatong","[s:ac:计划通]");
        emotions.put("jing","[s:ac:惊]");
        emotions.put("jiong","[s:ac:囧]");
        emotions.put("koubi","[s:ac:抠鼻]");
        emotions.put("ku","[s:ac:酷]");
        emotions.put("ku1","[s:ac:酷1]");
        emotions.put("kuxiao","[s:ac:哭笑]");
        emotions.put("leng","[s:ac:冷]");
        emotions.put("lingluan","[s:ac:凌乱]");
        emotions.put("o","[s:ac:哦]");
        emotions.put("pa","[s:ac:怕]");
        emotions.put("pen","[s:ac:喷]");
        emotions.put("shang","[s:ac:上]");
        emotions.put("shanguang","[s:ac:闪光]");
        emotions.put("shuai","[s:ac:摔]");
        emotions.put("touxiao","[s:ac:偷笑]");
        emotions.put("weiqu","[s:ac:委屈]");
        emotions.put("wen","[s:ac:问]");
        emotions.put("wuyu","[s:ac:无语]");
        emotions.put("xia","[s:ac:吓]");
        emotions.put("xianmu","[s:ac:羡慕]");
        emotions.put("xiaren","吓人");
        emotions.put("xiu","[s:ac:羞]");
        emotions.put("yi","[s:ac:咦]");
        emotions.put("youshang","[s:ac:忧伤]");
        emotions.put("yun","[s:ac:晕]");
        emotions.put("zantong","[s:ac:赞同]");
        emotions.put("zhongqiang","[s:ac:中枪]");
        emotions.put("zhuakuang","[s:ac:抓狂]");
        /* ========================= */
        emotions.put("aojiao","[s:dt:傲娇]");
        emotions.put("bishi","[s:dt:鄙视]");
        emotions.put("chaoxiao","[s:dt:嘲笑]");
        emotions.put("chachuqu","[s:dt:叉出去]");
        emotions.put("faguang","[s:dt:发光]");
        emotions.put("haqian","[s:dt:哈欠]");
        emotions.put("heilian","[s:dt:黑脸]");
        emotions.put("jing","[s:dt:惊]");
        emotions.put("jing2","[s:dt:惊2]");
        emotions.put("kengutou","[s:dt:坑骨头]");
        emotions.put("ku","[s:dt:哭]");
        emotions.put("lei","[s:dt:雷]");
        emotions.put("lei2","[s:dt:雷2]");
        emotions.put("lianhong","[s:dt:脸红]");
        emotions.put("nu","[s:dt:怒]");
        emotions.put("nu2","[s:dt:怒2]");
        emotions.put("ROLL","[s:dt:ROLL]");
        emotions.put("shang","[s:dt:上]");
        emotions.put("shao","[s:dt:烧]");
        emotions.put("shuai","[s:dt:摔]");
        emotions.put("wuyu","[s:dt:无语]");
        emotions.put("xian","[s:dt:闲]");
        emotions.put("xiao","[s:dt:笑]");
        emotions.put("xiao2","[s:dt:笑2]");
        emotions.put("xiao3","[s:dt:笑3]");
        emotions.put("xin","[s:dt:心]");
        emotions.put("xingxingyan","[s:dt:星星眼]");
        emotions.put("xingxingyan2","[s:dt:星星眼2]");
        emotions.put("yao","[s:dt:药]");
        emotions.put("yuan","[s:dt:怨]");
        emotions.put("yun","[s:dt:晕]");
        emotions.put("zhuyi","[s:dt:注意]");
        emotions.put("zhuyi2","[s:dt:注意2]");
         /* ========================= */
        emotions.put("anwei","[s:pst:安慰]");
        emotions.put("bei","[s:pst:背]");
        emotions.put("bixue","[s:pst:鼻血]");
        emotions.put("can","[s:pst:惨]");
        emotions.put("chaoxiao","[s:pst:嘲笑]");
        emotions.put("dai","[s:pst:呆]");
        emotions.put("dai2","[s:pst:呆2]");
        emotions.put("dai3","[s:pst:呆3]");
        emotions.put("dianji","[s:pst:电击]");
        emotions.put("faguang","[s:pst:发光]");
        emotions.put("fu","[s:pst:扶]");
        emotions.put("haqian","[s:pst:哈欠]");
        emotions.put("heilian","[s:pst:黑脸]");
        emotions.put("huaiyi","[s:pst:怀疑]");
        emotions.put("huoxing","[s:pst:火星]");
        emotions.put("ji","[s:pst:基]");
        emotions.put("jingdai","[s:pst:惊呆]");
        emotions.put("jingdai2","[s:pst:惊呆2]");
        emotions.put("jingdai3","[s:pst:惊呆3]");
        emotions.put("jingxia","[s:pst:惊吓]");
        emotions.put("jingxia2","[s:pst:惊吓2]");
        emotions.put("jinzhang","[s:pst:紧张]");
        emotions.put("jushou","[s:pst:举手]");
        emotions.put("kaixin","[s:pst:开心]");
        emotions.put("kaixin2","[s:pst:开心2]");
        emotions.put("kaixin3","[s:pst:开心3]");
        emotions.put("kanxi","[s:pst:看戏]");
        emotions.put("ku","[s:pst:哭]");
        emotions.put("ku2","[s:pst:哭2]");
        emotions.put("ku3","[s:pst:哭3]");
        emotions.put("lei","[s:pst:泪]");
        emotions.put("lei2","[s:pst:泪2]");
        emotions.put("lei3","[s:pst:泪3]");
        emotions.put("lei4","[s:pst:泪4]");
        emotions.put("lianhong","[s:pst:脸红]");
        emotions.put("lianhong2","[s:pst:脸红2]");
        emotions.put("manzu","[s:pst:满足]");
        emotions.put("manzu2","[s:pst:满足2]");
        emotions.put("meiwei","[s:pst:美味]");
        emotions.put("men","[s:pst:闷]");
        emotions.put("men2","[s:pst:闷2]");
        emotions.put("nu","[s:pst:怒]");
        emotions.put("nu2","[s:pst:怒2]");
        emotions.put("ou","[s:pst:呕]");
        emotions.put("qin","[s:pst:亲]");
        emotions.put("shayan","[s:pst:傻眼]");
        emotions.put("shayan2","[s:pst:傻眼2]");
        emotions.put("touxiao","[s:pst:偷笑]");
        emotions.put("touxiao2","[s:pst:偷笑2]");
        emotions.put("touxiao3","[s:pst:偷笑3]");
        emotions.put("tuzi","[s:pst:兔子]");
        emotions.put("xiaoerbuyu","[s:pst:]");
        emotions.put("xie","[s:pst:安慰]");
        emotions.put("xieyan","[s:pst:安慰]");
        emotions.put("xingfu","[s:pst:安慰]");
        emotions.put("xingxingyan","[s:pst:安慰]");
        emotions.put("yandai","[s:pst:安慰]");
        emotions.put("yanjing","[s:pst:安慰]");
        emotions.put("yateng","[s:pst:安慰]");
        emotions.put("yingyue","[s:pst:安慰]");
        emotions.put("yuan","[s:pst:安慰]");
        emotions.put("yun","[s:pst:安慰]");
        emotions.put("zhai","[s:pst:安慰]");
        emotions.put("zui","[s:pst:安慰]");
    }
}
